-- GENERATED SPELL FOR [Keras Wolfheart] --


function spell0_907(pUnit, Event) --@Whirlwind,Self--
pUnit:FullCastSpellOnTarget(13736,pUnit)
pUnit:RegisterEvent('Sorts_907', 2000, 1)
end

function Sorts_907(pUnit, Event)
local choix_sorts_907 = math.random(0, 0)
if choix_sorts_907 == 0 then
pUnit:RegisterEvent('spell0_907', 1, 1)
end
end

function mob907_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_907', math.random(1500, 3000), 1)
end

function mob907_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob907_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob907_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(907, 1, 'mob907_Action')
RegisterUnitEvent(907, 2, 'mob907_Leave')
RegisterUnitEvent(907, 3, 'mob907_Kill')
RegisterUnitEvent(907, 4, 'mob907_Die')
